package com.example.dbmysql.service;


import com.example.dbmysql.pojo.RoomList;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface RoomListService {


    void batchAdd(Object roomList);

    List<RoomList> GetRoomList();

    PageInfo<RoomList> SelectAll(int page, int pageSize);

    List<RoomList> selectById(Integer id);

    void update(RoomList roomList);

    void delectById(Integer id);

    void deleteByIds(List ids);

    void updateStatusByRoomName(String roomName,int status);

    RoomList  selectByRoomName(String roomName);
}
